package main

import (
	"fmt"

	"git.apache.org/thrift.git/lib/go/thrift"
)

func main() {
	addr := "0.0.0.0:2376"
	var protocolFactory thrift.TProtocolFactory
	protocolFactory = thrift.NewTBinaryProtocolFactoryDefault()

	var transportFactory thrift.TTransportFactory
	transportFactory = thrift.NewTBufferedTransportFactory(8192)
	if err := runClient(transportFactory, protocolFactory, addr); err != nil {
		fmt.Println("fail run client")
	}
}
